getMatte

abstract fun getMatte(block: DesignBlock): BlockMatte?

Get the matte of a block. Experimental: this API may change in a minor release.

Return

the matte source and mode, or null when the block has no matte.

Parameters

block

the block to query. Graphic, text and group blocks are supported.